package com.yungu.swift.assets.driver.model.vo;

import com.yungu.swift.base.model.BaseVo;


/**
 * 司机上下班签到考核统计表
 **/

public class DriverSignLogVo extends BaseVo {

    /****/
    private String driverUuid;

    /**
     * 在线里程(公里)
     **/
    private Double onlineMileage;

    /**
     * 服务里程（公里）
     **/
    private Double serviceMileage;

    /**
     * 订单总数
     **/
    private Integer orderCount;

    /**
     * 订单总额
     **/
    private Double orderIncome;

    /**
     * 上班时间
     **/
    private Integer onWorkTime;

    /**
     * 下班时间
     **/
    private Integer offWorkTime;

    /**
     * 在线时长（毫秒）
     **/
    private Integer onlineTime;

    /**
     * 服务时长（毫秒）
     **/
    private Integer onserviceTime;

    /**
     * 班时长（毫秒）
     **/
    private Integer onbanTime;

    /**
     * 被投诉次数
     **/
    private Integer complainCnt;

    /**
     * 创建时间
     **/
    private java.util.Date createOn;

    //附加字段
    /**
     * 接单数
     **/
    private Integer allOrderCount;

    /**
     * 完成订单数
     **/
    private Integer successOrderCount;

    /**
     * 成单率
     **/
    private String successOrderRate;

    /**
     * 订单流水
     **/
    private Double orderFlow;

    /**
     * 收入流水
     **/
    private Double incomeFlow;

    /**
     * 平均得分
     **/
    private Double averageScore;


    public void setDriverUuid(String driverUuid) {
        this.driverUuid = driverUuid;
    }

    public String getDriverUuid() {
        return this.driverUuid;
    }

    public void setOnlineMileage(Double onlineMileage) {
        this.onlineMileage = onlineMileage;
    }

    public Double getOnlineMileage() {
        return this.onlineMileage;
    }

    public void setServiceMileage(Double serviceMileage) {
        this.serviceMileage = serviceMileage;
    }

    public Double getServiceMileage() {
        return this.serviceMileage == null ? 0 : this.serviceMileage;
    }

    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }

    public Integer getOrderCount() {
        return this.orderCount;
    }

    public void setOrderIncome(Double orderIncome) {
        this.orderIncome = orderIncome;
    }

    public Double getOrderIncome() {
        return this.orderIncome;
    }

    public Integer getOnWorkTime() {
        return onWorkTime == null ? 0 : onWorkTime;
    }

    public void setOnWorkTime(Integer onWorkTime) {
        this.onWorkTime = onWorkTime;
    }

    public Integer getOffWorkTime() {
        return offWorkTime;
    }

    public void setOffWorkTime(Integer offWorkTime) {
        this.offWorkTime = offWorkTime;
    }

    public void setOnlineTime(Integer onlineTime) {
        this.onlineTime = onlineTime;
    }

    public Integer getOnlineTime() {
        return this.onlineTime == null ? 0 : this.onlineTime;
    }

    public void setOnserviceTime(Integer onserviceTime) {
        this.onserviceTime = onserviceTime;
    }

    public Integer getOnserviceTime() {
        return this.onserviceTime == null ? 0 : this.onserviceTime;
    }

    public void setOnbanTime(Integer onbanTime) {
        this.onbanTime = onbanTime;
    }

    public Integer getOnbanTime() {
        return this.onbanTime;
    }

    public void setComplainCnt(Integer complainCnt) {
        this.complainCnt = complainCnt;
    }

    public Integer getComplainCnt() {
        return this.complainCnt;
    }

    public void setCreateTime(java.util.Date createOn) {
        this.createOn = createOn;
    }

    public java.util.Date getCreateTime() {
        return this.createOn;
    }

    public Integer getAllOrderCount() {
        return allOrderCount == null ? 0 : allOrderCount;
    }

    public void setAllOrderCount(Integer allOrderCount) {
        this.allOrderCount = allOrderCount;
    }

    public Integer getSuccessOrderCount() {
        return successOrderCount == null ? 0 : successOrderCount;
    }

    public void setSuccessOrderCount(Integer successOrderCount) {
        this.successOrderCount = successOrderCount;
    }

    public String getSuccessOrderRate() {
        return successOrderRate == null ? "0.0%" : successOrderRate;
    }

    public void setSuccessOrderRate(String successOrderRate) {
        this.successOrderRate = successOrderRate;
    }

    public Double getOrderFlow() {
        return orderFlow == null ? 0 : orderFlow;
    }

    public void setOrderFlow(Double orderFlow) {
        this.orderFlow = orderFlow;
    }

    public Double getAverageScore() {
        return averageScore == null ? 0.0 : averageScore;
    }

    public void setAverageScore(Double averageScore) {
        this.averageScore = averageScore;
    }

    public Double getIncomeFlow() {
        return incomeFlow == null ? 0.0 : incomeFlow;
    }

    public void setIncomeFlow(Double incomeFlow) {
        this.incomeFlow = incomeFlow;
    }
}
